#include "ManPipe.h"
#include "Main_constant.h"


BOOL ManPipe::SetParam(WORD memId, Ndata* pSrcParam) {

	return false;
}

BOOL ManPipe::GetParam(WORD memId, Ndata* pDstParam) {

	switch (memId)
	{
			//class
		case 0: {
			pDstParam->SetDataBody(STR_TYPE, "Pipe", 16);
			break;
		}
			  //timeInPipe
		case 1: {
			pDstParam->SetWord(0x0000);
			break;
		}case 2: {//rfuInPipe
			pDstParam->SetWord(0x0000);
			break;
		}case 3: {//acqRate
			pDstParam->SetDvb(Int2Dvb(10000));
			break;
		}case 4: {//uploadRate
			pDstParam->SetDvb(Int2Dvb(1000));
			break;
		}case 5: {//x1
			pDstParam->SetDvb(Int2Dvb(1000));
			break;
		}case 6: {//x2
			pDstParam->SetDvb(Int2Dvb(1000));
			break;
		}case 7: {//downloading
			pDstParam->SetWord(0);
			break;
		}
	}


	return true;
}